<script lang="ts" setup>
import User from './Point/User.vue'
import Main from './Point/Main.vue'

const {commentPage, videoInfo} = $(useVideo())
</script>

<template>
    <view>
        <Main :easy-point="videoInfo?.easyPoint ?? 9.5" :logic-point="videoInfo?.logicPoint ?? 9.5"
              :total-point="videoInfo?.totalPoint ?? 9.5" :content-point="videoInfo?.contentPoint ?? 9.5"/>
        <view my-5>
            <User v-for="(item, idx) in commentPage?.current_data ?? []" :key="idx" :user="item"/>
        </view>
    </view>
</template>

<style lang="scss" scoped></style>
